// JobType2.h: interface for the CJobType2 class.
//Author : Pradeep K Sahu
//Email : sahupk@yahoo.com
//Date  :29-Mar-2003
//Note   : You are free to use the code, and modify. Provided you
//         don't remove this comments. It will be great if you can provide
//		   your feedback.

//////////////////////////////////////////////////////////////////////

#if !defined(AFX_JOBTYPE2_H__6386B12C_3B59_429A_9854_985EA7658B9C__INCLUDED_)
#define AFX_JOBTYPE2_H__6386B12C_3B59_429A_9854_985EA7658B9C__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "Job.h"

//This Class describes a new job type. As per the requirement this class inherits CJob 
//and overrides  the execute() method.
class CJobType2 : public CJob
{
public:
	
	//The Over ridden method. This method is the main process of the job. 
	//This is the entry point of the job to be executed. This method called back by the Job Q.
	//Here this method just creates a new dialog and increases it's progress bar. When the 
	//progressbar reaches 100% it closes the dialog and the job gets finished.
	virtual void execute();

	CJobType2();

	virtual ~CJobType2();

};

#endif // !defined(AFX_JOBTYPE2_H__6386B12C_3B59_429A_9854_985EA7658B9C__INCLUDED_)
